package com.wifi.books.entity;


import com.wifi.unti.StringUtil;

public class BookEntity {
    private Integer bid;
    private Integer bookId;
    private String bookName;
    private String authorName;
    private String coverUrl;
    private String description;
    private String wordCount;
    private Integer isRecommend;
    private Integer ftypeId;
    private Integer stypeId;
    private Integer status;
    private Integer isVip;
    private String keyword;
    private Integer lastUpdateChapterId;
    private String lastUpdateChapterName;
    private Integer bookPartner;
    private Integer statusUp;
    private String typeName;
    private String secondTypeName;

    @Override
    public String toString() {
        return "BookEntity{" +
                "bid=" + bid +
                ", bookId=" + bookId +
                ", bookName='" + bookName + '\'' +
                ", authorName='" + authorName + '\'' +
                ", coverUrl='" + coverUrl + '\'' +
                ", description='" + description + '\'' +
                ", wordCount='" + wordCount + '\'' +
                ", isRecommend=" + isRecommend +
                ", ftypeId=" + ftypeId +
                ", stypeId=" + stypeId +
                ", status=" + status +
                ", isVip=" + isVip +
                ", keyword='" + keyword + '\'' +
                ", lastUpdateChapterId=" + lastUpdateChapterId +
                ", lastUpdateChapterName='" + lastUpdateChapterName + '\'' +
                ", bookPartner=" + bookPartner +
                ", statusUp=" + statusUp +
                ", typeName='" + typeName + '\'' +
                ", secondTypeName='" + secondTypeName + '\'' +
                '}';
    }

    public BookEntity(String bookName, String authorName, String coverUrl, String description, String wordCount, Integer ftypeId, Integer stypeId, Integer status, Integer isVip, Integer statusUp) {
        this.bookName = bookName;
        this.authorName = authorName;
        this.coverUrl = coverUrl;
        this.description = description;
        this.wordCount = wordCount;
        this.ftypeId = ftypeId;
        this.stypeId = stypeId;
        this.status = status;
        this.isVip = isVip;
        this.statusUp = statusUp;
    }
    public BookEntity(Integer bookId, String bookName, String authorName, String coverUrl, String description, String wordCount, Integer ftypeId, Integer stypeId, Integer status, Integer isVip, Integer statusUp) {
        this.bookId=bookId;
        this.bookName = bookName;
        this.authorName = authorName;
        this.coverUrl = coverUrl;
        this.description = description;
        this.wordCount = wordCount;
        this.ftypeId = ftypeId;
        this.stypeId = stypeId;
        this.status = status;
        this.isVip = isVip;
        this.statusUp = statusUp;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSecondTypeName() {
        return secondTypeName;
    }

    public void setSecondTypeName(String secondTypeName) {
        this.secondTypeName = secondTypeName;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public Integer getStypeId() {
        return stypeId;
    }

    public void setStypeId(Integer stypeId) {
        this.stypeId = stypeId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Integer getLastUpdateChapterId() {
        return lastUpdateChapterId;
    }

    public void setLastUpdateChapterId(Integer lastUpdateChapterId) {
        this.lastUpdateChapterId = lastUpdateChapterId;
    }

    public String getLastUpdateChapterName() {
        return lastUpdateChapterName;
    }

    public void setLastUpdateChapterName(String lastUpdateChapterName) {
        this.lastUpdateChapterName = lastUpdateChapterName;
    }

    public Integer getBookPartner() {
        return bookPartner;
    }

    public void setBookPartner(Integer bookPartner) {
        this.bookPartner = bookPartner;
    }

    public Integer getStatusUp() {
        return statusUp;
    }

    public void setStatusUp(Integer statusUp) {
        this.statusUp = statusUp;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Integer getFtypeId() {
        return ftypeId;
    }

    public void setFtypeId(Integer ftypeId) {
        this.ftypeId = ftypeId;
    }

    public BookEntity() {
    }

    public Integer getBid() {
        return bid;
    }



    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getWordCount() {
        return wordCount;
    }

    public void setWordCount(String wordCount) {
        this.wordCount = wordCount;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }


}
